<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<div class="container"><br>
    <form:form action="new" method="post" commandName="banco" cssClass="form-horizontal">
        <br><br>
        <h3>Registro de Banco</h3> 
        <div class="row">
        <div class="hero-unit-min">  
        <table align="center" border=0 cellspacing=2 cellpadding=4 width="90%" height="50px" bordercolor=red >
            <tr>
                <td>Banco:</td>
                <td>
                    <form:input path="nobanco"></form:input>
                    <form:errors path="nobanco" cssstyle="color:red"></form:errors>
                </td>
            </tr>
            <tr>
                <td>Estado:</td>
                <td>
                    <form:select path="idestado" >
                    <option value="1">Activo</option>
                    <option value="2" >Inactivo</option>
                    </form:select>
                    <form:errors path="idestado" cssstyle="color:red"></form:errors>                </td>
                </td>
            </tr>
            <tr align="center">
                <td colspan="4">
                    <input name="" value="Grabar" type="submit" class="btn btn-mini btn-primary">
                    <a style="margin-left: 5px;" href="<c:url value='/pages/banco/index'/>" class="btn btn-mini btn-primary">Cancelar</a>
                </td>
            </tr>
        </table>
        </div>
        </div>
    </form:form>
</div>
